//
//  HWInviteModel.swift
//  HWanGame
//
//  Created by 王昌健 on 2022/9/1.
//  Copyright © 2022 94Wan. All rights reserved.
//

import UIKit
import HandyJSON
class HWInviteModel: HandyJSON {
    required init() {}
    var coin = ""
    var invite_code = ""
    var jiangjin = ""
    var jiangjin_title = ""
    var link = ""
    var liucheng:[HWInviteLiuChengModel] = []
    var note = ""
    var num = ""
    var pay = ""
    var pay_title = ""
    var points = ""
    var qrcode = ""
}
class HWInviteLiuChengModel: HandyJSON {
    required init() {}
    var icon = ""
    var title = ""
}


class HWInviteRecordModel: HandyJSON {
    required init() {}
    /// 增加的积分
    var points = ""
    /// 时间
    var time = ""
    /// 说明
    var note = ""
    /// 用户名
    var user_name = ""
    /// 登录时间
    var login_time = ""
    /// 注册时间
    var reg_time = ""
    /// 是否发放
    var is_fafang = false
    /// 发放数量
    var fafang = ""
    /// 头像
    var face = ""
    var user_id = ""
}


class HWInviteRechargeModel: HandyJSON {
    required init() {}
    var pay_title = ""
    /// 充值数量
    var pay = ""
    var jiangjin_title = ""
    /// 奖励金
    var jiangjin = ""
}

class HWInviteSendRecordModel: HandyJSON {
    required init() {}
    
    var id = ""
    var coin = ""
    var time = ""
    var user_id = ""
    var note = ""
    var pid = ""
    var user_name = ""
    var type = ""
}
